package com.hjm.project.ActTerminalModel.ActTerminalModel.mapper;

import java.util.List;
import java.util.Map;

import com.hjm.project.ActTerminalModel.ActTerminalModel.domain.ActTerminalModel;

/**
 * 活动匹配终端Mapper接口
 * 
 * @author ActTerminalModel
 * @date 2020-11-28
 */
public interface ActTerminalModelMapper 
{
    /**
     * 查询活动匹配终端
     * 
     * @param id 活动匹配终端ID
     * @return 活动匹配终端
     */
    public ActTerminalModel selectActTerminalModelById(Long id);

    /**
     * 查询活动匹配终端列表
     * 
     * @param actTerminalModel 活动匹配终端
     * @return 活动匹配终端集合
     */
    public List<ActTerminalModel> selectActTerminalModelList(ActTerminalModel actTerminalModel);

    /**
     * 新增活动匹配终端
     * 
     * @param actTerminalModel 活动匹配终端
     * @return 结果
     */
    public int insertActTerminalModel(ActTerminalModel actTerminalModel);

    /**
     * 修改活动匹配终端
     * 
     * @param actTerminalModel 活动匹配终端
     * @return 结果
     */
    public int updateActTerminalModel(ActTerminalModel actTerminalModel);

    /**
     * 删除活动匹配终端
     * 
     * @param id 活动匹配终端ID
     * @return 结果
     */
    public int deleteActTerminalModelById(Long id);

    /**
     * 批量删除活动匹配终端
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteActTerminalModelByIds(String[] ids);


    public List<Map<String, Object>> getActTerminalModel(Map<String, Object> map);



    public int batchInsertActTerminalModel(List<Map<String,Object>> list);



    public int updateActActives(Map<String, Object> map);



    public int updateActTerminalModels(Map<String, Object> map);




}
